<%@ page pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/includes/directives/page.jspf"%>
<%@ include file="/WEB-INF/views/includes/directives/taglib.jspf"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<link rel="StyleSheet" href="css/general.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Recommendations settings</title>
</head>

<body>

	<div id="main_container">
		<%@ include file="/WEB-INF/views/includes/header.jspf"%>
		<div id="content">


			<div id="form_container">
				<form action="main?command=analyse" method="post">

					<div class="form_field">
						<fmt:message key="rec_jsp.num_of_rules" />
						${numOfRules}
					</div>

					<div class="form_field">
						<fmt:message key="rec_jsp.tree_in_db" />
						${isTreeInDb }
					</div>
					<hr>
					<div class="form_field">
						<div class="form_label">
							<fmt:message key="rec_jsp.analysis" />
						</div>
					</div>
					<hr>
					<br>
					<div class="form_field">
						<input type="checkbox" value="nav" name="analysis_type">
						<fmt:message key="rec_jsp.analysis.navigation" />
					</div>
					<br>
					<div class="form_field">
						<div class="form_label">
							<fmt:message key="rec_jsp.analysis.min_sup" />		
						</div>
						<div class="form_input_middle">
							<input type="text" name="min_sup" maxlength="8"
								value="0.0001" />
						</div>
					</div>
					<hr>
					<div class="form_field">
						<input type="checkbox" value="cart" name="analysis_type">
						<fmt:message key="rec_jsp.analysis.cart" />
					</div>
					<br>

					<div class="form_field">
						<div class="form_label">
							<fmt:message key="rec_jsp.analysis.min_conf" />		
						</div>
						<div class="form_input_middle">
							<input type="text" name="min_conf" maxlength="5"
								value="0.7" />
						</div>
					</div>
					<br>

					<div class="form_field">
						<div class="form_label">
							<fmt:message key="rec_jsp.analysis.rules_num" />		
						</div>
						<div class="form_input_middle">
							<input type="text" name="rules_num" maxlength="10"
								value="2000" />
						</div>
					</div>
		
					<hr>
					<fmt:message key="rec_jsp.analysis.warn" />		
					<br>
					<fmt:message key="rec_jsp.analysis.warn.message" />		 
					<hr>
					<div class="form_field">
						<div class="form_input">
							<input value='<fmt:message key="settings_jsp.buton.analyse"/>'
								type="submit">
						</div>
					</div>
				</form>
			</div>


		</div>
		<div id="free_space"></div>
	</div>

	<%@ include file="/WEB-INF/views/includes/footer.jspf"%>

</body>
</html>